package  
{
	import org.flixel.plugin.photonstorm.FlxButtonPlus;
	
	/**
	 * ...
	 * @author Jacowaco
	 */
	public class NormalButton extends FlxButtonPlus 
	{
		
		public function NormalButton(X:int, Y:int, Callback:Function, Params:Array = null, Label:String = null, Width:int = 160, Height:int = 40)
		{
			super(X, Y, Callback, Params, Label, Width, Height);
			
			updateInactiveButtonColors([ 0xffFF0000, 0xffFF0000 ]);
			updateActiveButtonColors([ 0xffFFAA00, 0xffFFAA00 ]);
			
			//buttonNormal.scrollFactor.x = buttonNormal.scrollFactor.y = 0;
			//buttonHighlight.scrollFactor.x = buttonHighlight.scrollFactor.y = 0;
			textNormal.scrollFactor.x = textNormal.scrollFactor.y = 0;
			textHighlight.scrollFactor.x = textHighlight.scrollFactor.y = 0;
			textNormal.size = textHighlight.size = 24;
			textNormal.offset.y = textHighlight.offset.y = -2;
			
			//updateActiveButtonColors([ 0xffFFFF00, 0xffFF8000 ]);
			//updateInactiveButtonColors([ 0xffFF0000, 0xffFF8000, 0xffFFFF00 ]);
		}
		
	}

}